package hb.software.dao;

import java.io.Serializable;
import java.util.List;

import org.springframework.data.domain.Example;
import org.springframework.data.repository.NoRepositoryBean;
import org.springframework.data.repository.PagingAndSortingRepository;

import hb.software.domain.BaseEntity;


@NoRepositoryBean
public interface GenericDao<T extends BaseEntity<PK>, PK extends Serializable> extends PagingAndSortingRepository<T, PK> {

    List<T> findAll(Example<T> ex);
}